﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Logic.Packet
{
    class PakObjects
    {
    }


    public class PeriphericObject
    {
        public ushort XCoord { get; set; }
        public ushort YCoord { get; set; }
        public ushort SkinID { get; set; }
        public uint UnitID { get; set; }
        /// <summary>
        /// unit radiance from 0 to 100
        /// </summary>
        public byte LightPercentage { get; set; }
        /// <summary>
        ///  0 = monster, 1 = NPC, 2 = player
        /// </summary>
        public byte UnitType { get; set; }
        /// <summary>
        /// unit's visual health from 0 (red) to 100 (green)
        /// </summary>
        public byte HealthPercentage { get; set; }
    }

    public class BackPackItem
    {
        /// <summary>
        /// icon_id on the wiki
        /// </summary>
        public ushort SkinID { get; set; }
        public uint UnitID { get; set; }
        public ushort ObjectID { get; set; }
        public uint Quantity { get; set; }
        public uint Unknown { get; set; }
    }
}
